package cn.lx;

/**
 * @author lixin
 * @Classname Client
 * @Description TODO
 * @Date 2019/10/7 上午11:41
 */
public class Client {
    public static void main(String[] args) {
        // 声明所有的处理点
        Handler handler1 = new ConcreteHandler1();
        Handler handler2 = new ConcreteHandler2();
        handler1.setNextHandler(handler2);
        Response response = handler1.handleMessage(new Request());

    }
}
